
package com.insigma.business.qrcode.soldier._provider;


import com.insigma.business.qrcode.common.annotation.ApiServiceType;
import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.entity.CommonDataDictDTO;
import com.insigma.business.qrcode.soldier.entity.CommonDataDictSearchRequest;
import com.insigma.business.qrcode.soldier.entity.CommonDataDictUpdateRequest;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.soldier.request.CommonDataDictInsertRequest;

import java.util.List;


public interface CommonDataDictProvider {

    @ApiServiceType(value = "soldier.ss.common.dict.search", name = "查询数据列表", desc = "查询数据列表")
    BasePagingResponse<List<CommonDataDictDTO>> searchCommonDataDict(final CommonDataDictSearchRequest commonDataDictSearchRequest);

    @ApiServiceType(value = "all.ss.common.dict.view", name = "得到合法的非逻辑删除对象", desc = "得到合法的非逻辑删除对象")
    BaseResponse<CommonDataDictDTO> getCommonDataDict(final BaseGetRequest baseGetRequest);

    @ApiServiceType(value = "gov.ss.common.dict.add", name = "插入数据", desc = "插入数据", opsLog = "业务字典")
    BaseResponse<String> insertCommonDataDict(final CommonDataDictInsertRequest commonDataDictInsertRequest);

    @ApiServiceType(value = "gov.ss.common.dict.update", name = "更新数据", desc = "更新数据", opsLog = "业务字典")
    BaseResponse<Integer> updateCommonDataDict(final CommonDataDictUpdateRequest commonDataDictUpdateRequest);

    @ApiServiceType(value = "gov.ss.common.dict.delete", name = "删除数据", desc = "删除数据", opsLog = "业务字典")
    BaseResponse<Integer> deleteCommonDataDict(final BaseDeleteRequest deleteRequest);

}
